//
//  TJFontStyle.h
//  BaoDian
//
//  Created by mac on 2024/8/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TJFontStyle : NSObject


@property (nonatomic, strong, readonly) UIFont *font;

- (BOOL)isExistFontName:(NSString *)fontName;
- (void)logAllFontName;

- (nullable NSMutableAttributedString *)setTextStyleWithText:(NSString *)text textColor:(NSString *)textColor fontName:(NSString *)fontName fontSize:(CGFloat)fontSize strokeColor:(NSString *)strokeColor strokeWidth:(NSInteger)strokeWidth shadowColor:(NSString *)shadowColor shadowBlurRadius:(NSInteger)shadowBlurRadius isItalic:(BOOL)italic isBold:(BOOL)bold borderStyle:(int)borderStyle underline:(BOOL)underline;

@end

NS_ASSUME_NONNULL_END
